package com.think.teaching.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.think.teaching.model.College;
import com.think.teaching.model.Major;

import java.util.List;

/**
 * <p>
 * 院系 服务类
 * </p>
 *
 * @author think
 * @since 2020-08-12
 */
public interface CollegeService extends IService<College> {
	College AddNewCollege(College college);

	College UpdateCollege(College college);

	College GetCollegeInfo(Integer id);
	
	College SetCollegeState(Integer id,Integer state);


	List<College> SearchCollegeWithKey(String key, Boolean withoutBan);

	List<Major> ListCollegeMajor(Boolean withoutBan);
}
